package com.fmdj.mis.api.feign;

import com.fmdj.common.util.CommonResult;
import com.fmdj.mis.api.controller.form.CalculateDriveLineForm;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@FeignClient("fmdj-mps")
public interface MpsServiceApi {

    @PostMapping("/map/calculateBestDrivingLine")
    public CommonResult calculateBestDrivingLine(@Valid @RequestBody CalculateDriveLineForm form);
}
